const busi = {
  busiCode: { type: 'string', description: '业务状态' },
  msg: { type: 'string', description: '业务描述' }
}
module.exports = {
  homePostReq: {
    ...busi,
    totalCount: { type: 'number', description: '所有数量' },
    activeCount: { type: 'number', description: '所有发布中数量' },
    inactiveCount: { type: 'number', description: '所有下架数量' },
    socialActiveCount: { type: 'number', description: '社招发布中数量' },
    socialInactiveCount: { type: 'number', description: '社招下架数量' },
    schoolActiveCount: { type: 'number', description: '校招发布中数量' },
    schoolInactiveCount: { type: 'number', description: '校招下架数量' },
    internshipActiveCount: { type: 'number', description: '实习发布中数量' },
    internshipInactiveCount: { type: 'number', description: '实习下架数量' }
  },
  homeDeliverReq: {
    ...busi,
    month: { type: 'statistic', description: '过去30天' },
    week: { type: 'statistic', description: '过去7天' },
    pending: { type: 'number', description: '待处理投递数量' }
  },
  statistic: {
    totalCount: { type: 'number', description: '总量' },
    socialCount: { type: 'number', description: '社招投递数量' },
    schoolCount: { type: 'number', description: '校招投递数量' },
    internshipCount: { type: 'number', description: '实习投递数量' }
  }
}
